package com.source.lightfowl.person.dao;

import com.source.lightfowl.person.entity.Big_Plate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

public interface BigPlateDao extends JpaRepository<Big_Plate,String> {
    Big_Plate findByBpid(String bpid);

    /*
    @Query(
            value = "INSERT INTO big_plate (`bpid`,`bpname`) values(?1,?2)",
                    nativeQuery = true
    )
    @Modifying
    void addBplate(String bpid, String bpname);

     */

}
